package com.daidai.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * Author: Mr.Chen
 * Date: 2022/07/31 15:33
 * Description: 活动信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Activity {
    @TableId(value = "activityId", type = IdType.AUTO)
    private Integer activityId;
    private String description;
    private String title;
    @TableField("activityStatus")
    private Integer activityStatus;
    private String picture;
    @TableField("associationId")
    private Integer associationId;
    @TableField("startTime")
    private String startTime;
    @TableField("endTime")
    private String endTime;
    private String location;
    private float material;
}
